package com.t4.courseware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.t4.courseware.common.Result;
import com.t4.courseware.pojo.Courseware;
import com.t4.courseware.pojo.dto.CoursewareDto;
import org.springframework.web.multipart.MultipartFile;


public interface CoursewareService extends IService<Courseware> {

    Result list(Integer start);

    Result upload(CoursewareDto coursewareDto);

    Result search(String key);

    Result uploadCover(MultipartFile multipartFile);

    Result uploadResource(MultipartFile multipartFile);
}
